<template>
  <TheIcon :icon="icon" />
</template>

<script>
import { defineComponent } from 'vue'
// you can rewrite it to a single file component, if not, you should config vue alias to vue/dist/vue.esm-bundler.js
import { createFromIconfontCN } from '@ant-design/icons-vue'

export default defineComponent({
  name: 'IconsMy',
  components: {
    TheIcon: createFromIconfontCN({
      scriptUrl: '//at.alicdn.com/t/font_2853414_tnevlu5zwzp.js'
    })
  },
  props: {
    icon: {
      type: String,
      default: ''
    }
  }
})
</script>

<style>

</style>
